ToolItem: Fix nullable annotation put on wrong arg
authorDaniel Boles <dboles@src.gnome.org>
Wed, 20 Sep 2017 22:53:54 +0000 (23:53 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Wed, 20 Sep 2017 22:55:15 +0000 (23:55 +0100)
D’oh

gtk/gtktoolitem.c

index 09ee3ec452b41c43ce0c9465bc38f6074de51f49..c8092473e26f104922cf19f9af025e4e0c334f6a 100644 (file)
@@ -899,9 +899,9 @@ gtk_tool_item_rebuild_menu (GtkToolItem *tool_item)
 
 /**
  * gtk_tool_item_set_proxy_menu_item:
- * @tool_item: (nullable): a #GtkToolItem
+ * @tool_item: a #GtkToolItem
  * @menu_item_id: a string used to identify @menu_item
- * @menu_item: a #GtkMenuItem to be used in the overflow menu
+ * @menu_item: (nullable): a #GtkMenuItem to use in the overflow menu, or %NULL
  * 
  * Sets the #GtkMenuItem used in the toolbar overflow menu. The
  * @menu_item_id is used to identify the caller of this function and